﻿@page "/searchdialogs"
@inject IStringLocalizer<SearchDialogs> Localizer

<h3>@Localizer["H1"]</h3>
<h4>@Localizer["H2"]</h4>

<p><code>SearchDialog</code> @Localizer["P1"] <code>Dialog</code> @Localizer["P2"]</p>

<Tips>
    <p>@Localizer["P3"] <code>DialogService</code> @Localizer["P4"] <code>ShowSearchDialog</code> @Localizer["P5"]<code>SearchDialogOption</code> @Localizer["P6"] <code>DialogOption</code>@Localizer["P7"] <a href="dialogs" target="_blank">[@Localizer["P8"]]</a></p>
</Tips>

<DemoBlock Title="@Localizer["P9"]" Introduction="@Localizer["P10"]" Name="Normal">
    <Button Text="@Localizer["P11"]" OnClickWithoutRender="@ShowDialog" />
    <BlockLogger @ref="Trace" class="mt-3" />
</DemoBlock>

<DemoBlock Title="@Localizer["P12"]" Introduction="@Localizer["P13"]"  Name="Field">
    <Button Text="@Localizer["P14"]" OnClickWithoutRender="@ShowColumnsDialog" />
</DemoBlock>

<DemoBlock Title="@Localizer["P15"]" Introduction="@Localizer["P16"]" Name="Layout">
    <Button Text="@Localizer["P17"]" OnClickWithoutRender="@ShowInlineDialog" />
    <Button Text="@Localizer["P18"]" OnClickWithoutRender="@ShowInlineAlignDialog" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" Title="@Localizer["P19"]" />
